//
//  FMDBManager.h
//  product_B
//
//  Created by lanou on 16/6/6.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import <Foundation/Foundation.h>
static FMDatabase *db = nil;
@interface FMDBManager : NSObject
+ (FMDBManager *)shareInstance;
- (void)openDB;
- (void)createTableNameWithTableName:(NSString *)tableName;
- (void)insertReadCommentTableWithTableName:(NSString *)tableName url:(NSString *)url content:(NSString *)content myID:(NSString *)myID type:(NSNumber *)type input_date:(NSString *)input_date praisenum:(NSNumber *)praisenum quote:(NSString *)quote touser_name:(NSString *)touser_name user_id:(NSString *)user_id user_name:(NSString *)user_name web_url:(NSString *)web_url;
- (void)deleteReadCommentTableWithTableName:(NSString *)tableName forURL:(NSString *)URL myID:(NSString *)myID;
- (NSMutableArray *)selectReadCommentTableWithTableName:(NSString *)tableName forURL:(NSString *)URL type:(NSNumber *)type;
- (NSMutableArray *)selectMusicCommentTableWithTableName:(NSString *)tableName forURL:(NSString *)URL type:(NSNumber *)type;



@end
